import request from '@/utils/request'

export function registerList(query) {
  return request({
    url: '/net/register/list',
    method: 'get',
    params: query
  })
}

export function registerDetail(query) {
  return request({
    url: '/net/register/detail',
    method: 'get',
    params: query
  })
}

export function registerUpdate(data) {
  return request({
    url: '/net/register/update',
    method: 'post',
    data
  })
}

export function refund(query) {
  return request({
    url: '/net/register/refund',
    method: 'get',
    params: query
  })
}




export function chatDetail(query) {
  return request({
    url: '/net/register/detailChat',
    method: 'get',
    params: query
  })
}
